// 安装ReactRouter
import { RouterProvider } from 'react-router-dom';
import router from './router/router.tsx';

// 配置自定义antd主题
import { ConfigProvider } from 'antd';
import { dayTheme } from './assets/themeToken.ts';

// 配置Redux状态管理工具
import { Provider } from 'react-redux';
import store from './store/store.ts';

function App() {
  return (
    <ConfigProvider theme={dayTheme}>
      <Provider store={store}>
        <RouterProvider router={router} />,
      </Provider>
    </ConfigProvider>
  )
}

export default App
